#ifndef PACK_METADATA_H
#define PACK_METADATA_H

#include <QObject>
#include <QSize>
#include <QVariantMap>

class PackMetadata : public QObject {
  Q_OBJECT
 public:
  explicit PackMetadata(const QString& filename, QObject* parent = NULL);

  QStringList tilesheetPaths() const;
  QSize tilesheetSize(const QString& path) const;
  QStringList tileNames(QString tilesheet_name) const;
  QString tileName(QString tilesheet_name, int row, int column) const;
  QString tileName(QString tilesheet_name, int index) const;

 private:
  QVariantMap metadata_;
};

#endif // PACK_METADATA_H
